package com.wzx.domain;
//根据表与类的对应关系
//一行数据 会对应一个 该类创建的对象

public class Stu {
    private Integer sid;
    private String sname;
    private String schoolName;
    private Integer score;
    //set/get
    //constructor

    public Stu() {
    }

    public Stu(Integer sid, String sname, String schoolName, Integer score) {
        this.sid = sid;
        this.sname = sname;
        this.schoolName = schoolName;
        this.score = score;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}
